import http from "@/utils/http/index";

// 静默授权接口
export const silenceAuth = (data:object) => {
  return http<any>({
    method: "POST",
    url: `/yhj/api.wxapp/session`,
    data
  });
};

// 微信授权接口
export const weChatLicen = (data:object) => {
  return http<any>({
    method: "POST",
    url: `/yhj/api.wxapp/decode`,
    data
  });
};

// 微信授权接口
export const getMobile = (data:object) => {
  return http<any>({
    method: "POST",
    url: `/yhj/api.auth.userMy/GetMobile`,
    data
  });
};

